<template>
<div>A组件</div>
</template>

<script>
export default {
  name: "A",
  mounted() {
    console.log('A mounted')
  },
  beforeDestroy() {
    console.log('A beforeDestroy')
  }
}
</script>

<style scoped>

</style>